package com.atguigu.gulimall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author sym
 * @Description
 * 想要调用别人的远程的服务
 * 1、引入open-feign
 * 2、编写一个接口，告诉springCloud这个接口需要调用远程服务
 *  2.1、声明每一个接口调用的是哪个方法
 *
 *
 * @Date 14:07 2022/8/10
 * @Param 
 * @return 
 **/
@EnableFeignClients("com.atguigu.gulimall.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimallMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }

}
